<template>
  <div class="product-info-list">
    <p v-for="(item, index) in list" :key="item" class="product-info-list-item">
      {{ item }}{{ index < list.length - 1 ? ';' : '' }}
    </p>
  </div>
</template>

<script>
export default {
  name: 'ProductList',
  props: {
    list: {
      type: Array,
      default() {
        return []
      }
    }
  },
  data() {
    return {}
  },
  created() {},
  methods: {}
}
</script>

<style lang="scss" scoped>
  .product-info-list {
    &-item {
      font-size: 14px;
      margin: 0;
      padding: 0;
    }
  }
</style>
